/*
 * "Call.java" is part of Tarinca-COA
 * (http://code.google.com/p/taringa-api/)
 * Copyright (C) - 2010 Juan B Cabral <jbc dot develop at gmail dot com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package taringa;

/**
 * Listado de llamadas posibles al api de taringa para verificar el remanentes
 * de llamadas(sic) disponible.
 *
 * @version 0.2
 * @license LGPL3
 * @author JBC
 * @since 0.2
 * @date 2010-02-13
 */
public enum Call {

    CALL_USERS_GET_USER_DATA("Users-GetUserData"),
    CALL_USERS_GET_LEVELS("Users-GetLevels"),
    CALL_USERS_GET_POSTS_COMMENTS("Users-GetPostsComments"),
    CALL_USERS_GET_POSTS_LIST("Users-GetPostsList"),
    CALL_POSTS_GET_CATEGORIES("Posts-GetCategories"),
    CALL_POSTS_GET_CLOUD_TAGS("Posts-GetCloudTags"),
    CALL_SITE_GET_SITE_STATS("Site-GetSiteStats"),
    CALL_POSTS_GET_TOP_POSTS("Posts-GetTopPosts"),
    CALL_POSTS_GET_TOP_USERS("Posts-GetTopUsers"),
    CALL_POSTS_GET_POST_LIST("Posts-GetPostList"),
    CALL_POSTS_GET_POST_DATA("Posts-GetPostData"),
    CALL_POSTS_GET_POST_COMMENTS("Posts-GetPostComments"),
    CALL_POSTS_GET_SEARCH("Posts-GetSearch"),
    CALL_POSTS_GET_POSTS_TAG("Posts-GetPostsTag");
    // Comportamiento
    private String value;

    private Call(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return this.value;
    }

    public String getValue() {
        return this.value;
    }
}
